package service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import dao.RoleDAO;
import pojo.Roles;

@Service  
@Transactional 
public class RoleServiceImpl implements RoleService {

	@Autowired
	private RoleDAO RoleDAO;
	
	public Roles getRoles(int id) {
		return RoleDAO.getRoles(id);
	}

}
